import path from 'path';
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react-swc'
const pathSrc = path.resolve(__dirname, 'src');

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [react()],
  resolve: {
    alias: {
      // '@': fileURLToPath(new URL('./src', import.meta.url)),
      '@': pathSrc,
    },
  },
})
